package com.learn.spring.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration  // 作为配置类， 替代 xml 配置文件
@ComponentScan(basePackages = {"com.learn.spring.aop"})
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class AopSpringConfig {
}
